package com.brayan.webapp.controller.admin;

import javax.inject.Inject;
import javax.ws.rs.Consumes;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;

import com.brayan.webapp.service.admin.AdminBean;

@Path("/admin")
@Consumes({ "application/json" })
@Produces({ "application/json" })
public class AdminResource {
	
	@Inject
	AdminBean adminService;

	@GET
	@Path("init/all")
	public void initAll() {		
		adminService.initSystem();		
	}

}
